﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Welcome.aspx.cs" Inherits="WebApplication2.Web.welcome" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>HOME</title>
    <script src="../../lib/layui/layui.js"></script>
    <link href="../../css/font.css" rel="stylesheet" />
    <link href="../../css/xadmin.css" rel="stylesheet" />
    <script src="../../js/jquery-3.2.1.min.js"></script>
    <script src="../js/xadmin.js"></script>
    <script src="../js/public.js"></script>
    <script src="../../js/xadmin.js"></script>
    <script src="../js/cookie.js"></script>

    <style>
    .x-admin-backlog-body p {
    font-style: normal;
    font-size: 30px;
    font-weight: 300;
    color: #009688;
    }
    </style>

</head>
<body>
    <div class="x-body layui-anim layui-anim-up">
        <blockquote class="layui-elem-quote">欢迎,
            <span class="x-red" id="getUser"> </span>  推荐使用谷歌Chrome浏览器，或360浏览器、qq浏览器和遨游浏览器等启用"使用极速内核"，并启用Cookie，使用IE浏览器可能导致浏览不正常...</blockquote>
        <fieldset class="layui-elem-field">
            <legend>数据统计</legend>
            <div class="layui-field-box">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 90px;">
                                <div carousel-item="">
                                    <ul class="layui-row layui-col-space10 layui-this">
                                        <li class="layui-col-xs2">
                                            <a href="./All.aspx" onclick="tab_total()" class="x-admin-backlog-body" target="main_iFrame">
                                                <h3>项目数</h3>
                                                <p id ="numAll">0
                                                </p>
                                            </a>
                                            
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="./Status0.aspx" class="x-admin-backlog-body">
                                                <h3>策划中</h3>
                                                <p id ="numcehua">0
                                                </p>
                                            </a>
                                        </li>

                                          <li class="layui-col-xs2">
                                            <a href="./Status1.aspx" class="x-admin-backlog-body">
                                                <h3>设计中</h3>
                                               <p id ="numdesign">0
                                                </p>
                                            </a>
                                          </li>
                                       
                                        <li class="layui-col-xs2">
                                            <a href="./Status2.aspx" class="x-admin-backlog-body">
                                                <h3>加工中</h3>
                                                 <p id ="numworking">0
                                                </p>
                                            </a>
                                        </li>

                                         <li class="layui-col-xs2">
                                            <a href="./Status3.aspx" class="x-admin-backlog-body">
                                                <h3>调试中</h3>
                                                <p id ="numdebug">0
                                                </p>
                                            </a>
                                        </li>
                         
                                        <li class="layui-col-xs2">
                                            <a href="./Status4.aspx" class="x-admin-backlog-body">
                                                <h3>已完成</h3>
                                                <p>
                                                   <p id ="numfinished">0
                                                </p>
                                            </a>
                                        </li>
                                       <%--  <li class="layui-col-xs2">
                                            <a href="./Status6.aspx" class="x-admin-backlog-body">
                                                <h3>暂停中</h3>
                                                 <p id ="numstop">
                                                </p>
                                                
                                            </a>
                                        </li>--%>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>最近更新</legend>
            <div class="layui-field-box">
                <table class="layui-table" lay-skin="line">
                    <tbody>
                        <tr>
                            <td >
                                <a class="x-a" href="/" target="_blank"> 
                                    <p css="">柳东工厂-"柳东前悬改造"状态更新：设计中</p>
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td >
                                <a class="x-a" href="./Risk.aspx">河西工厂-"信息管理系统"状态更新：已完成</a>
                            </td>
                        </tr>
                        <tr>
                            <td >
                                <a class="x-a" href="./Delete.aspx" target="_blank">河西工厂-"信息管理系统"状态更新：已完成</a>
                            </td>
                        </tr>
                        <tr>
                            <td >
                                <a class="x-a" href="/" target="_blank">河西工厂-"信息管理系统"状态更新：已完成</a>
                            </td>
                        </tr>
                        <tr>
                            <td >
                                <a class="x-a" href="/" target="_blank">河西工厂-"信息管理系统"状态更新：已完成</a>
                            </td>
                        </tr>
                        <tr>
                            <td >
                                <a class="x-a" href="/" target="_blank">河西工厂-"信息管理系统"状态更新：已完成</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>项目概况</legend>
            <div class="layui-field-box">
                <table class="layui-table">
                    <tbody>
                        <tr>
                            <th>年度计划产值(万元)</th>
                            <td></td></tr>
                        <tr>
                            <th>季度计划产值</th>
                            <td></td></tr>
                        <tr>
                            <th>月度计划产值</th>
                            <td></td></tr>
                        <tr>
                            <th>运行环境</th>
                            <td>.NET CORE</td></tr>
                       
                    </tbody>
                </table>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>开发团队</legend>
            <div class="layui-field-box">
                <table class="layui-table">
                    <tbody>
                        <tr>
                            <th>版权所有</th>
                            <td>
                                <a href="http://www.wuling.com.cn/index.aspx" class='x-a' target="_black">五菱工业有限公司</a></td>
                        </tr>
                        <tr>
                            <th>开发者</th>
                            <td>制造工程部工艺集成科</td>
                            </tr>
                    </tbody>
                </table>
            </div>
        </fieldset>
        <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,百度Echarts,jquery,本系统由x-admin提供技术支持。</blockquote>
    </div>

     <script>
         layui.use(['element','form'], function () {
             var element = layui.element;
             var form = layui.form;

             // 查询所有数据
             var objEmLogin = new Object();
             objEmLogin.empAccount = 'admin';
             objEmLogin.pwd = '123456';

             myAjax("projectHandler.ashx", "queryAllProject", objEmLogin, true, function (data) {
                 $("#numAll").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
                 });

             myAjax("projectHandler.ashx", "queryInCehua", objEmLogin, true, function (data) {
                 $("#numcehua").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
                 });

             myAjax("projectHandler.ashx", "queryInDesign", objEmLogin, true, function (data) {
                 $("#numdesign").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
                 });

             myAjax("projectHandler.ashx", "queryInWorking", objEmLogin, true, function (data) {
                 $("#numworking").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
                 });

             myAjax("projectHandler.ashx", "queryInDebuging", objEmLogin, true, function (data) {              
                 $("#numdebug").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
             });

             myAjax("projectHandler.ashx", "queryFinished", objEmLogin, true, function (data) {         
                 $("#numfinished").text(data.Obj.length);
             }, function () {
                 layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
                 });
         })
        
    </script>

       
    </body>
</html>
